package me.zhengjie.state;

import lombok.Getter;

@Getter
public enum TaskType {
    //取货
    TASK_PUT(0,"COLLECT"),
    //放货
    TASK_COMPLETE(1,"DELIVERY"),
    PALLET(1,"1楼托盘"),
    WORKBIN(2,"2楼料箱"),
    THREE_WORKBIN(3,"3楼料箱"),
    THREE_FLOOR_OUTBOUND_PLC(4,"3楼出库plc配送任务"),
    EMPTY_MATERIAL_BOX(4,"2楼空料箱"),
    EMPTY_PALLET_STORAGE(5,"3楼空栈板入库"),
    EMPTY_OUTBOUND_STORAGE(5,"3楼空栈板出库"),
    EMPTY_MATERIAL_BOX_STORAGE(6,"2楼空料箱入库"),
    DELIVERY(7,"配送"),
    OUTBOUND_TAKE_BOX(1,"取箱"),
    OUTBOUND_PUT_BOX(2,"放箱"),
    ONE_FLOOR(1,"M1"),
    TWO_FLOOR(2,"M2"),
    THREE_FLOOR(3,"M3"),
    inbound_ordinary(1,"普通入库"),
    inbound_manual(2,"手工入库"),
    circle_library_stocktaking(3,"盘点回库"),
    circle_library_sorting(4,"分拣回库"),
    circle_library_mould_assembling(5,"合箱整理回库"),
    FREEZE_AND_RETURN_TO_STORAGE(6,"冻结回库"),
    STORAGE_TYPE_ONE_FLOOR_NEW_ABNORMAL(1,"1楼异常储位"),
    STORAGE_TYPE_THREE_FLOOR_NEW_ABNORMAL(3,"3楼异常储位"),
    STORAGE_TYPE_THREE_FLOOR_EMPTY_PALLET(3,"3楼空栈板储位"),
    STORAGE_FLOOR_OUTBOUND_EMPTY_PALLET(3,"3楼出库储位"),
    STORAGE_TYPE_ONE_FLOOR_NEW_CIRCLE_LIBRARY(1,"新1楼回库储位"),
    STORAGE_TYPE_TWE_FLOOR_NEW_CUTTING_POINT(2,"新2楼下料点"),
    STORAGE_TYPE_THREE_FLOOR_NEW_CIRCLE_LIBRARY(3,"新3楼下料点"),
    STORAGE_TYPE_FOUR_FLOOR_NEW_CIRCLE_LIBRARY(4,"新4楼下料点"),
    STORAGE_TYPE_FIVE_FLOOR_NEW_CIRCLE_LIBRARY(5,"新5楼下料点"),
    STORAGE_TYPE_ONE_FLOOR_CIRCLE_LIBRARY(1,"1楼下料点"),
    STORAGE_TYPE_TWE_FLOOR_CUTTING_POINT(2,"2楼下料点"),
    STORAGE_TYPE_THREE_FLOOR_CIRCLE_LIBRARY(3,"3楼下料点"),
    STORAGE_TYPE_FOUR_FLOOR_CIRCLE_LIBRARY(4,"4楼下料点"),
    STORAGE_TYPE_FIVE_FLOOR_CIRCLE_LIBRARY(5,"5楼下料点"),
    STORAGE_TYPE_SIX_FLOOR_CIRCLE_LIBRARY(6,"6楼下料点"),
    STORAGE_TYPE_SEVEN_FLOOR_CIRCLE_LIBRARY(7,"7楼下料点"),
    FLUENT_FRAME_A(1,"A"),
    FLUENT_FRAME_B(2,"B"),
    MATERIAL_Q(1,"原物料Q"),
    ONE_FLOOR_ALTIMETRY(1,"1楼测高储位"),
    //点对点
    PF_FMR_COMMON(1,"PF-FMR-COMMON"),
    //起点中间点，终点
    PF_FMR_TASK_CONTINUE(2,"PF-FMR-TASK-CONTINUE"),
    //站点
    SITE(1,"SITE"),
    //仓位
    STORAGE(2,"STORAGE"),

    //预调度3楼机器人类型
    THREE_FLOOR_ROBOT_TYPE(17,"3楼机器人类型"),

    //3楼站点编号
    THREE_SITE_CHU(1,"R3FchuA01011"),
    THREE_SITE_RU(1,"R3FruA01011"),

    //2楼任务下发，容器绑定储位
    ONE_Task_assignment_Container_binding(2,"2"),

    ////3楼任务下发，容器绑定储位
    TWO_Task_assignment_Container_binding(3,"1"),

    //任务取消类型
    //取消(原软取消)
    CANCEL(1,"CANCEL"),
    //人工介入(原硬取消
    DROP(2,"DROP"),
    ONE_FLOOR_RETURN_TO_STORAGE_LOCATION(1,"1楼回库储位"),
    //绑定
    BIND(1,"BIND"),
    //解绑
    UNBIND(2,"UNBIND"),
    //区域agv急停
    REGION_FREEZE(1,"FREEZE"),
    //区域agv回复
    REGION_RUN(1,"RUN"),



    //配置枚举
    THREE_FLOOR_MATERIAL_BOX_ABNORMAL_STORAGE_TIME(1,"3F料箱入库异常存储时间"),

    THREE_FLOOR_OUTBOUND_PALLET_QUANTITY(2,"3F托盘出库存储数量"),

    THREE_FLOOR_PALLET(1,"3F_PALLET"),

    PRE_SCHEDULING_TIME(1,"预调度时间"),

    CCD_STATUS(1,"CCD状态"),

    ROBOTIC_ARM_DEFAULT(0,"机械臂默认状态"),

    ROBOTIC_ARM_MARK(1,"机械臂标记状态")

    ;
    private Integer status;

    private String message;

    TaskType(Integer status, String message) {
        this.status = status;
        this.message = message;
    }
}
